<?php

declare(strict_types=1);

namespace Modules\Express\Models;

use Catch\Base\CatchModel as Model;
use Catch\Traits\DB\BaseOperate;
use Catch\Traits\DB\ScopeTrait;
use Catch\Traits\DB\Trans;
use Catch\Traits\DB\WithAttributes;
use Illuminate\Auth\Authenticatable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Laravel\Sanctum\HasApiTokens;


class ExpressPlatform extends Model implements AuthenticatableContract
{
    use Authenticatable, HasApiTokens;

    protected $table = 'express_platform';
    public array  $searchable = [
        'type' => '='
    ];
    protected $fillable = [
        'id',
        'express_name',
        'express_code',
        'price_one',
        'price_more',
        'yida_price_one',
        'yida_price_more',
        'cal_more',
        'type',
        'created_at',
        'created_at',
        'deleted_at',

    ];
    protected $field = [
        'id',
        'express_name',
        'express_code',
        'price_one',
        'price_more',
        'yida_price_one',
        'yida_price_more',
        'cal_more',
        'type',
        'created_at',
        'created_at',
        'deleted_at',
        ];

}
